Skip to content

Conversation

@ksiler
Copy link
Contributor

@ksiler ksiler commented Feb 10, 2025

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Description of changes

Previously, we were including the Text component in non-inline links as part of the accessibilty tree. This is unnecessary and results in duplicate narration of the link text when using Narrator in scan mode (no duplicate narration with VO but the extra text element in the a11y tree is still unnecessary).

Additionally, we're not setting the link text as the accessibilityLabel of the link on win32 so I fixed that as well.

Before:

win32
Screenshot 2025-02-10 at 9 34 52 AM

macOS
Screenshot 2025-02-10 at 11 05 19 AM

After:

win32
Screenshot 2025-02-10 at 10 28 25 AM

macOS
Screenshot 2025-02-10 at 11 09 14 AM

Verification

Tested narration of link with Narrator in scan mode on win32 and with VO on macOS.

Before After
"Hyperlink, Click to navigate." followed by "Click to navigate." "Hyperlink, Click to navigate."
"Link, Click to navigate." "Link, Click to navigate."

Pull request checklist

This PR has considered (when applicable):

  • Automated Tests
  • Documentation and examples
  • Keyboard Accessibility
  • Voiceover
  • Internationalization and Right-to-left Layouts

@ksiler ksiler requested a review from a team as a code owner February 10, 2025 19:13
@ksiler ksiler merged commit 2f291a4 into microsoft:main Feb 11, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants